

/**
 * 顾客类
 */
public class Customer {

    /**
     * ID
     */
    private String id;

    /**
     * 姓名
     */
    private String name;


    /**
     * 购买的水果总订单
     */
   private Order order;




    public Customer(String id, String name) {
        this.id = id;
        this.name = name;
        order = new Order();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }
}
